local xunjie = fk.CreateSkill {
  name = "water_xunjie",
}

Fk:loadTranslationTable{
  ["water_xunjie"] = "训诫",
  [":water_xunjie"] = "出牌阶段你可以选择一名其他进行拼点，若你赢你获得其区域一张牌，然后可以再进行拼点，若你输此技能失效直到下回合开始。",
  ["#water_xunjie_again"] = "你可以再次发动“训诫”",
  ["#water_xunjie_choose"] = "请选择一名其他角色进行拼点",
  ["#water_xunjie_get"] = "请选择获得目标区域的一张牌",
}



xunjie:addEffect(fk.TurnStart, {
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(self.name) and player:getMark("@xunjie_failed") > 0
  end,
  on_use = function(self, event, target, player, data)
    player:removeMark("@xunjie_failed")
  end,
})

return xunjie 